cmake_minimum_required(VERSION 3.10)

project(L2DataSet)

# L2DataSet
file(GLOB L2DataSet_SRC
    ${CMAKE_CURRENT_SOURCE_DIR}/srcs/*.cpp
)

include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}/srcs
)

add_library(L2DataSet ${L2DataSet_SRC})

# Test
file(GLOB L2DataSet_Test_SRC
    ${CMAKE_CURRENT_SOURCE_DIR}/test/*.cpp
)

add_executable(testL2DataSet ${L2DataSet_Test_SRC})
target_link_libraries(testL2DataSet PRIVATE L2DataSet)